package verify

import (
	"awesomeProject/app/request"
	"errors"
)

func ShopFlowSource(r *request.ShopFlowSource) error {
	if r.ShopId == 0 {
		return errors.New("请选择店铺")
	}

	return nil
}

func ShopFirstTrafficTrend(r *request.ShopFirstTrafficTrend) error {
	if r.ShopId == 0 {
		return errors.New("请选择店铺")
	}

	return nil
}

func ShopSecondTrafficRank(r *request.ShopSecondTrafficRank) error {
	if r.ShopId == 0 {
		return errors.New("请选择店铺")
	}

	return nil
}

func ShopTrans(r *request.ShopTrans) error {
	if r.ShopId == 0 {
		return errors.New("请选择店铺")
	}

	return nil
}

func ShopTrend(r *request.ShopTrend) error {
	if r.ShopId == 0 {
		return errors.New("请选择店铺")
	}

	return nil
}
